<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh">
<head>
    <meta charset="UTF-8">
    <title th:text="${'Redirect to'+redirectUrl}">Redirect to xxx</title>
    <script th:inline="javascript">
        const redirectUrl = [[${redirectUrl}]];
        setTimeout(() => {
            window.location = redirectUrl
        }, 200)
    </script>
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="m-0 p-0">
<!-- 全屏容器，flex 居中 -->
<div class="w-screen h-screen flex items-center justify-center bg-white">
    <!-- 加载动画 -->
    <div class="flex flex-col items-center">
        <div class="w-16 h-16 border-4 border-blue-500 border-t-transparent rounded-full animate-spin"></div>
        <div class="mt-4 text-gray-700 text-lg">加载中...</div>
    </div>
</div>
</body>
</html>